<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>document2html: src/libs/fileext/ppt/ppt.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">document2html
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Documents to HTML converter</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('ppt_8hpp_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">ppt.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="ppt_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;../../pugixml/pugixml.hpp&quot;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &quot;../cfb/cfb.hpp&quot;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &quot;../fileext.hpp&quot;</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceppt.html">ppt</a> {</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classppt_1_1_ppt.html">   32</a></span>&#160;<span class="keyword">class </span><a class="code" href="classppt_1_1_ppt.html">Ppt</a>: <span class="keyword">public</span> <a class="code" href="classfileext_1_1_file_extension.html">fileext::FileExtension</a>, <span class="keyword">public</span> <a class="code" href="classcfb_1_1_cfb.html">cfb::Cfb</a> {</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    <a class="code" href="classppt_1_1_ppt.html#ab95c3dbfef2f09cb7c0c76c5a142b9dd">Ppt</a>(<span class="keyword">const</span> std::string&amp; fileName);</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classppt_1_1_ppt.html#a8afe57732435186bfabd02d7c145f454">~Ppt</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classppt_1_1_ppt.html#a51e26fd8f61c73a1f45a579b5181bc42">convert</a>(<span class="keywordtype">bool</span> addStyle = <span class="keyword">true</span>, <span class="keywordtype">bool</span> extractImages = <span class="keyword">false</span>, <span class="keywordtype">char</span> mergingMode = 0) <span class="keyword">override</span>;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="classppt_1_1_ppt.html#a1f4e4cf892445e622c1d332e5e4314e4">getRecordLength</a>(<span class="keyword">const</span> std::string&amp; stream, <span class="keywordtype">int</span> offset, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> recType = 0) <span class="keyword">const</span>;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="classppt_1_1_ppt.html#a954f8e62c9612776d33488b725964959">getRecordType</a>(<span class="keyword">const</span> std::string&amp; stream, <span class="keywordtype">int</span> offset) <span class="keyword">const</span>;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    std::string <a class="code" href="classppt_1_1_ppt.html#afcac16a0027130ab245e2fde2f2cb860">getRecord</a>(<span class="keyword">const</span> std::string&amp; stream, <span class="keywordtype">int</span> offset, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> recType = 0) <span class="keyword">const</span>;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classppt_1_1_ppt.html#a7fe93cb5440795e216b1017f3acb9574">addParagraph</a>(<span class="keyword">const</span> std::string&amp; text, pugi::xml_node&amp; htmlNode) <span class="keyword">const</span>;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;};</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;}  <span class="comment">// End namespace</span></div><div class="ttc" id="classppt_1_1_ppt_html"><div class="ttname"><a href="classppt_1_1_ppt.html">ppt::Ppt</a></div><div class="ttdoc">PPT files into HTML сonverter. </div><div class="ttdef"><b>Definition:</b> ppt.hpp:32</div></div>
<div class="ttc" id="classppt_1_1_ppt_html_a51e26fd8f61c73a1f45a579b5181bc42"><div class="ttname"><a href="classppt_1_1_ppt.html#a51e26fd8f61c73a1f45a579b5181bc42">ppt::Ppt::convert</a></div><div class="ttdeci">void convert(bool addStyle=true, bool extractImages=false, char mergingMode=0) override</div><div class="ttdoc">Convert file to HTML-tree. </div><div class="ttdef"><b>Definition:</b> ppt.cpp:29</div></div>
<div class="ttc" id="classppt_1_1_ppt_html_a7fe93cb5440795e216b1017f3acb9574"><div class="ttname"><a href="classppt_1_1_ppt.html#a7fe93cb5440795e216b1017f3acb9574">ppt::Ppt::addParagraph</a></div><div class="ttdeci">void addParagraph(const std::string &amp;text, pugi::xml_node &amp;htmlNode) const</div><div class="ttdoc">Add paragraph to HTML-tree. </div><div class="ttdef"><b>Definition:</b> ppt.cpp:226</div></div>
<div class="ttc" id="classppt_1_1_ppt_html_a8afe57732435186bfabd02d7c145f454"><div class="ttname"><a href="classppt_1_1_ppt.html#a8afe57732435186bfabd02d7c145f454">ppt::Ppt::~Ppt</a></div><div class="ttdeci">virtual ~Ppt()=default</div></div>
<div class="ttc" id="namespaceppt_html"><div class="ttname"><a href="namespaceppt.html">ppt</a></div><div class="ttdoc">PPT files into HTML сonverter. </div></div>
<div class="ttc" id="classppt_1_1_ppt_html_ab95c3dbfef2f09cb7c0c76c5a142b9dd"><div class="ttname"><a href="classppt_1_1_ppt.html#ab95c3dbfef2f09cb7c0c76c5a142b9dd">ppt::Ppt::Ppt</a></div><div class="ttdeci">Ppt(const std::string &amp;fileName)</div><div class="ttdef"><b>Definition:</b> ppt.cpp:26</div></div>
<div class="ttc" id="classfileext_1_1_file_extension_html"><div class="ttname"><a href="classfileext_1_1_file_extension.html">fileext::FileExtension</a></div><div class="ttdoc">Base class for file extensions converters. </div><div class="ttdef"><b>Definition:</b> fileext.hpp:32</div></div>
<div class="ttc" id="classppt_1_1_ppt_html_afcac16a0027130ab245e2fde2f2cb860"><div class="ttname"><a href="classppt_1_1_ppt.html#afcac16a0027130ab245e2fde2f2cb860">ppt::Ppt::getRecord</a></div><div class="ttdeci">std::string getRecord(const std::string &amp;stream, int offset, unsigned short recType=0) const</div><div class="ttdoc">Get record data from stream by offset, possibly a given type. </div><div class="ttdef"><b>Definition:</b> ppt.cpp:219</div></div>
<div class="ttc" id="classppt_1_1_ppt_html_a954f8e62c9612776d33488b725964959"><div class="ttname"><a href="classppt_1_1_ppt.html#a954f8e62c9612776d33488b725964959">ppt::Ppt::getRecordType</a></div><div class="ttdeci">unsigned short getRecordType(const std::string &amp;stream, int offset) const</div><div class="ttdoc">Get current structure type in accordance with MS documentation. </div><div class="ttdef"><b>Definition:</b> ppt.cpp:214</div></div>
<div class="ttc" id="classppt_1_1_ppt_html_a1f4e4cf892445e622c1d332e5e4314e4"><div class="ttname"><a href="classppt_1_1_ppt.html#a1f4e4cf892445e622c1d332e5e4314e4">ppt::Ppt::getRecordLength</a></div><div class="ttdeci">unsigned short getRecordLength(const std::string &amp;stream, int offset, unsigned short recType=0) const</div><div class="ttdoc">Get current structure length. </div><div class="ttdef"><b>Definition:</b> ppt.cpp:207</div></div>
<div class="ttc" id="classcfb_1_1_cfb_html"><div class="ttname"><a href="classcfb_1_1_cfb.html">cfb::Cfb</a></div><div class="ttdoc">Wrapper for Compound File Binary Format (CFB) </div><div class="ttdef"><b>Definition:</b> cfb.hpp:30</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_87a455bccb09a92130c26a11a880c98a.html">libs</a></li><li class="navelem"><a class="el" href="dir_ffbcd8de0e3a98e11beaf3347bc22514.html">fileext</a></li><li class="navelem"><a class="el" href="dir_635ef39f897366a8b3ba92e94454b70a.html">ppt</a></li><li class="navelem"><a class="el" href="ppt_8hpp.html">ppt.hpp</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
